package shark.tenant.holder;


import shark.tenant.model.SysTenant;

public class TenantHolder {
    public static ThreadLocal<SysTenant> holder = new ThreadLocal<>();

    public static void set(SysTenant sysTenant){
        holder.set(sysTenant);
    }

    public static SysTenant get(){
        return holder.get();
    }

    public static void remove(){
        holder.remove();
    }
}
